package com.subway.babynote.db;

import android.database.sqlite.SQLiteDatabase;

public class query_clientfeedsum extends query_clientfeed {
	
	public query_clientfeedsum(SQLiteDatabase _db) {
		super(_db);
		sql = "select 0, b.foodname ,sum(a.quantity) quantity, b.unit from feeds a join foods b on a.food_id = b.food_id where a.r_date = ? and a.mark = 1 group by a.food_id order by a.r_time asc";
	}
}
